﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Runtime.Serialization;

namespace FinApp.Model {
    [DataContract]
    public class AddresModel {

        #region Members
        private string street;
        private string number;
        private string city;
        private string postalCode;
        private string country;
        #endregion

        #region Properties
        [DataMember(Name = "street")]
        public string Street {
            get { return street; }
            set { street = value; }
        }
        [DataMember(Name = "number")]
        public string Number {
            get { return number; }
            set { number = value; }
        }
        [DataMember(Name = "city")]
        public string City {
            get { return city; }
            set { city = value; }
        }
        [DataMember(Name = "postalCode")]
        public string PostalCode {
            get { return postalCode; }
            set { postalCode = value; }
        }
        [DataMember(Name = "country")]
        public string Country {
            get { return country; }
            set { country = value; }
        } 

        #endregion
    }
}
